package com.example.demo.service;

import com.example.demo.entity.Poetry;
import com.example.demo.param.QueryParam;

import java.util.List;

public interface PoetryService {

    Poetry getRandomPoetry();

    Poetry getPoetryById(Integer id);

    List<Poetry> getPoetrySelectively(QueryParam queryParam);

    List<Poetry> getRandomPoetryPage(Integer pageNo);

    List<Poetry> getPoetryByContent(String content,Integer pageNo);

}
